home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: HELP! How can I create a file system in ram?
- Date: Sat, 16 Mar 96 14:33:51 GMT
- Organization: none
- Message-ID: <826986831snz@genesis.demon.co.uk>
- References: <4iedqg$qdn@news5.erols.com>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4iedqg$qdn@news5.erols.com>
- winstanl@clark.net "Roger Winstanley" writes:
-
- >Is there a way in C to create a file system in ram. I have a task
- >that needs to load an image many times to multiple processors. I would
- >like to load the image from disk to the memory of one processor and then
- >have that processor load the rest of the processor's from it's local
- >memory. The problem is that the image loader needs to be passed a path
- >name to a file. Can I create a file system in ram that would look like
- >a disk access?
-
- If your system has a disk cache then as long as it is large enough that
- would effectively deal with the problem. RAM Disks are typically a feature
- of the OS - you can't make one using just the facilities provided by the
- C language. Check out a newsgroup related to your specific OS.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-